package com.edu.zju.scs.panacea.entity.plan;

public class Seller {
    /**
     * 唯一标识，数据库自动生成
     */
    private Long id;

    /**
     * 自有唯一标识，创建站点时输入
     */
    private String ownId;

    /**
     * 商家名称
     */
    private String name;

    /**
     * 商家密码
     */
    private String password;

    public Seller() {
    }

    public Seller(String ownId, String name) {
        this.ownId = ownId;
        this.name = name;
    }

    public Seller(Long id, String ownId, String name) {
        this.id = id;
        this.ownId = ownId;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOwnId() {
        return ownId;
    }

    public void setOwnId(String ownId) {
        this.ownId = ownId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Seller{" +
                "id=" + id +
                ", ownId='" + ownId + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
